﻿using System.Collections.Generic;

namespace RabbitDownload.WebSite.Pixiv.PixivDay
{
    internal class PixivDayJson
    {
        public class Illust_content_type
        {
            /// <summary>
            ///
            /// </summary>
            public int sexual { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string lo { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string grotesque { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string violent { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string homosexual { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string drug { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string thoughts { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string antisocial { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string religion { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string original { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string furry { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string bl { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string yuri { get; set; }
        }

        public class ContentsItem
        {
            /// <summary>
            /// 【オリジナル】生徒会長はブラ♀コン
            /// </summary>
            public string title { get; set; }

            /// <summary>
            /// 2018年03月04日 00:00
            /// </summary>
            public string date { get; set; }

            /// <summary>
            ///
            /// </summary>
            public List<string> tags { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string url { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illust_type { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string illust_book_style { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illust_page_count { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string user_name { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string profile_img { get; set; }

            /// <summary>
            ///
            /// </summary>
            public Illust_content_type illust_content_type { get; set; }

            /// <summary>
            ///
            /// </summary>
            public bool illust_series { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illust_id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int width { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int height { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int user_id { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int rank { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int yes_rank { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int rating_count { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int view_count { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int illust_upload_timestamp { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string attr { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string is_bookmarked { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string bookmarkable { get; set; }
        }

        public class Root
        {
            /// <summary>
            ///
            /// </summary>
            public List<ContentsItem> contents { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string mode { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string content { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int page { get; set; }

            /// <summary>
            ///
            /// </summary>
            public bool prev { get; set; }

            /// <summary>
            ///
            /// </summary>
          //  public int next { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string date { get; set; }

            /// <summary>
            ///
            /// </summary>
            public string prev_date { get; set; }

            /// <summary>
            ///
            /// </summary>
        //    public string next_date { get; set; }

            /// <summary>
            ///
            /// </summary>
            public int rank_total { get; set; }
        }
    }
}